package com.shunda.ysdgj.manager.service.goods;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shunda.ysdgj.model.dto.base.IdsDto;
import com.shunda.ysdgj.model.dto.goods.GoodsSpecFindDto;
import com.shunda.ysdgj.model.entity.goods.GoodsSpec;
import com.shunda.ysdgj.model.vo.goods.GoodsSpecVo;

import java.util.List;

public interface GoodsSpecService {
    public List<GoodsSpecVo> findByCategoryId(Long id);
    public IPage<GoodsSpec> findByPage(GoodsSpecFindDto goodsSpecFindDto);
    public boolean add(GoodsSpec goodsSpec);
    public boolean modify(GoodsSpec goodsSpec);
    public boolean deleteByIds(IdsDto idsDto);
    public Long countByCategoryIds(List<Long> ids);
}
